.page {
  overflow: hidden;
}

.view {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  // --bottom-sheet-max-height: 80vh;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #b1c1c0;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 0rpx;
  padding-left: 30rpx;
  .devName {
    font-size: 60rpx;
    font-weight: 600;
    color: #000;
  }
  .batteryBox {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .emptyContainer {
    width: 76rpx;
    height: 45rpx;
  }

  .batteryBoxCharge {
    animation: fadeInOut 1s infinite alternate;
  }

  .tips {
    position: absolute;
    width: 52rpx;
    height: 52rpx;
    top: 50rpx;
    right: 10rpx;
  }

  @keyframes fadeInOut {
    0% {
      opacity: 0.3;
    }
    100% {
      opacity: 1;
    }
  }

  .headerRight {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  .addAlarmBox {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 10rpx;
    padding-right: 20rpx;
    padding-left: 20rpx;
    height: 74rpx;
    .addAlarmIcon {
      height: 48rpx;
      width: 48rpx;
      margin-right: 10rpx;
    }
  }
}

.homeBox {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 50rpx;

  .switchContainer {
    padding-left: 80rpx;
    position: relative;
    height: 489rpx;

    .bigLog {
      position: absolute;
      top: 0rpx;
      right: 50rpx;
      width: 265rpx;
      height: 479rpx;
      object-fit: contain;
    }
  }

  .songInfo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    .songImage {
      height: 80rpx;
      width: 80rpx;
      margin-right: 20rpx;
    }
  }
}

.soundBox {
  height: 100%;
  padding-bottom: 50rpx;

  .controlBoxSound {
    margin-top: 30rpx;
  }
}

.alarmsBox {
  .header {
    padding-left: 0;
  }
}

.timeBox {
  .PickerBox {
    padding-top: 36rpx;
    padding-left: 28rpx;
    padding-right: 28rpx;
    padding-bottom: 20rpx;
    background-color: #f1f3fc;
    border-radius: 30rpx;
    border: 2rpx solid #f7fafd;
    margin-bottom: 30rpx;
  }

  .timeText1 {
    font-size: 30rpx;
    color: #000;
    font-weight: 600;
  }

  .timeText2 {
    font-size: 100rpx;
    font-weight: 600;
    color: #000;
    margin-top: 10rpx;
    margin-right: 15rpx;
  }

  .timeText3 {
    font-size: 48rpx;
    color: #000;
  }
  .header {
    padding-left: 0rpx;
  }

  .saveBtn {
    padding: 28rpx;
    background-color: #165dff;
    border-radius: 30rpx;
    border: 2rpx solid #f7fafd;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 36rpx;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30rpx 40rpx
  }
}

.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  .icon {
    margin-right: 18rpx;
    width: 48rpx;
    height: 48rpx;
  }

  .label {
    font-size: 28rpx;
    font-weight: 400;
  }

  .value {
    font-size: 28rpx;
    font-weight: 600;
    color: #1961ce;
  }
}

.slideUpContent {
  padding-left: 20rpx;
  padding-right: 2rpx;

}

.wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-left: 20rpx;
  margin-right: 20rpx;

}

.borBot {
  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  --hairline-bottom-width: 0 !important;
}

.navBar {
  --nav-bar-background-color: transparent;
  --nav-bar-title-text-color: #000;
  --nav-bar-arrow-color: #000 !important;
  border-bottom-width: 0 !important;
  border-bottom-color: transparent !important;
  --hairline-bottom-width: 0 !important;

  .tabTopIconWrap {
    display: flex;
    justify-content: center;
    align-items: center;
    & > image {
      height: 46rpx;
      width: 46rpx;
      object-fit: contain;
    }
  }
  .tabTopIconWrapLeft {
    display: flex;
    justify-content: center;
    align-items: center;
    & > image {
      height: 48rpx;
      width: 48rpx;
      object-fit: contain;
    }
  }
}

.control {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-left: 80rpx;
  padding-right: 80rpx;

  .controlItem {
    height: 180rpx;
    width: 120rpx;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    .controlItemIconBox {
      height: 120rpx;
      width: 120rpx;
      background-color: #d3e0db;
      border-radius: 60rpx;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .controlItemIconBoxActive {
      background-color: #40a1a7;
    }

    .controlItemIcon {
      height: 60rpx;
      width: 60rpx;
    }

    .controlItemText {
      font-size: 28rpx;
      line-height: 44rpx;
      color: #848e8a;
    }

    .controlItemTextActive {
      color: #40a1a7;
    }
  }
}

.settingBox {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

  .lockBox {
    margin-left: 40rpx;
    margin-right: 40rpx;

    .switchBox {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      height: 80rpx;
      .switch {
        margin-left: 10rpx;
        margin-right: 10rpx;

        margin-top: 8rpx;
      }
    }
  }

  .lock {
    height: 48rpx;
    width: 48rpx;
  }

  .settingIcon {
    height: 80rpx;
    width: 80rpx;
  }

  .settingText {
    margin-top: 16rpx;
    text-align: center;
    color: #535956;
    font-size: 28rpx;
    line-height: 44rpx;
  }
}
